package edu.cgpi.view;

import java.awt.Dimension;

import javax.swing.BoxLayout;
import javax.swing.JPanel;

public class PainelMenu extends JPanel {

	private static final long serialVersionUID = -3850900269297524402L;

	private PainelBotoes painelBotoes;
	private PainelClipping painelVisualizacao;
	
	public PainelMenu() {
		GerenciadorUI.getInstance().setPainelMenu(this);
		inicializar();
	}

	public void inicializar() {
		setLayout(new BoxLayout(this, BoxLayout.Y_AXIS));
		painelBotoes = new PainelBotoes();
		painelVisualizacao = new PainelClipping();
		add(painelBotoes);
		add(painelVisualizacao);
		setMinimumSize(new Dimension(400, 3000));
		setMaximumSize(new Dimension(400, 3000));
	}
}